﻿using System;
namespace Kis.Xroad.Eu {
    
    
    [System.SerializableAttribute()]
    public partial class InlineComplexTypeArray {
        
        private System.Collections.Generic.List<InlineComplexTypeArray.ManagedRegionsType> @__managedRegions = new System.Collections.Generic.List<InlineComplexTypeArray.ManagedRegionsType>();
        
        public InlineComplexTypeArray() {
        }
        
        /// <summary>
        /// All parameters
        /// </summary>
        public InlineComplexTypeArray(System.Collections.Generic.List<InlineComplexTypeArray.ManagedRegionsType> @managedRegions) {
            this.@__managedRegions = @managedRegions;
        }
        
        /// <summary>
        /// Copy Constructor
        /// </summary>
        protected InlineComplexTypeArray(InlineComplexTypeArray @inlineComplexTypeArray) {
            this.@__managedRegions = @inlineComplexTypeArray.ManagedRegions;
        }
        
        public virtual System.Collections.Generic.List<InlineComplexTypeArray.ManagedRegionsType> ManagedRegions {
            get {
                return this.@__managedRegions;
            }
            set {
                this.@__managedRegions = value;
            }
        }
        
        [System.SerializableAttribute()]
        public partial class ManagedRegionsType {
            
            private string @__country;
            
            private int @__city;
            
            private int @__street;
            
            public ManagedRegionsType() {
            }
            
            /// <summary>
            /// All parameters
            /// </summary>
            public ManagedRegionsType(string @country, int @city, int @street) {
                this.@__country = @country;
                this.@__city = @city;
                this.@__street = @street;
            }
            
            /// <summary>
            /// Copy Constructor
            /// </summary>
            protected ManagedRegionsType(ManagedRegionsType @managedRegionsType) {
                this.@__country = @managedRegionsType.Country;
                this.@__city = @managedRegionsType.City;
                this.@__street = @managedRegionsType.Street;
            }
            
            public virtual string Country {
                get {
                    return this.@__country;
                }
                set {
                    this.@__country = value;
                }
            }
            
            public virtual int City {
                get {
                    return this.@__city;
                }
                set {
                    this.@__city = value;
                }
            }
            
            public virtual int Street {
                get {
                    return this.@__street;
                }
                set {
                    this.@__street = value;
                }
            }
        }
    }
}
